import { createRouter, createWebHashHistory } from "vue-router"

const routes = [
    { path: '/', redirect: '/demo1' },
    { path: '/demo1', component: () => import('../view/demo1/index.vue') }
]

const router = createRouter({
    history: createWebHashHistory(),
    routes
})

export default router